package top.malaoshi.data;

import java.io.IOException;

public class DataSet {

    private DataTables tables;
    private String name;

    public DataSet() {

        tables = new DataTables();
    }

    public DataSet(String name) {
        this.name = name;
        tables = new DataTables();
    }

    public DataTables tables() {
        return tables;
    }
    public String getName() {
        return name;
    }

    public void writeJson(String path) throws IOException {
        DataFile.writeJson(this,path);
    }
}
